<html>
 <head><title>Using Implicit Objects </title></head> 

<body>

Hello, <b><%=request.getParameter("name")%></b><br/><br/>
Your request details are <br/><br/>
<table border="1">
<tr><th>Name</th><th>Value</th></tr>
<tr><td>request method</td>
<td><%= request.getMethod() %></td></tr>
<tr><td>request URI</td>
<td><%= request.getRequestURI() %></td></tr>
<tr><td>request protocol</td>
<td><%= request.getProtocol() %></td></tr>
<tr><td>browser</td>
 <td><%= request.getHeader("user-agent") %></td></tr> 
</table>
<%if (session.getAttribute("sessionVar")==null) { 
        session.setAttribute("sessionVar",new Integer(0)); 
     }%>

<table>
<tr><th align=left>Would you like to see use of remaining imlplicit objects?</th></tr>
<tr>
<form name=form1 action="pageContext.jsp" method="get">
<td><input type="radio" name="other" value="Yes">Yes</td>
<td><input type="radio" name="other" value="No" > No</td></tr>
<tr><td><input type="submit" value="Submit"></td></tr>
</form>
</table>

</body></html>
